package study;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.DeclareParents;
import org.springframework.stereotype.Component;

/**
 * 为Study类，添加一个玩的方法
 */
@Aspect
@Component
public class AddNewMethorAspect {

    @DeclareParents(value = "study.Study+",defaultImpl = MyPlay.class)
    public static Play play;
}
